<?php
/**
{
    "schoolFeedId": "INT //ID",
    "uid": "INT //用户@foreign::tbl_user; @noload",
    "schoolId": "INT //机构@foreign::tbl_school; "
}
 */

class SchoolFeed extends Base
{
    
	public $schoolFeedId= '';//ID
	public $uid= '';//用户@foreign::tbl_user;@noload
	public $schoolId= '';//机构@foreign::tbl_school;

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_school_feed';
    }
    
    public  function key(){
        return 'schoolFeedId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'SchoolFeed';
    }
    
    public  function field()
    {
        return array (  'schoolFeedId' =>   array (    0 => 'INT',    1 => 11,    2 => 'ID',  ),  'uid' =>   array (    0 => 'INT',    1 => 11,    2 => '用户@foreign::tbl_user;@noload',  ),  'schoolId' =>   array (    0 => 'INT',    1 => 11,    2 => '机构@foreign::tbl_school;',  ),);
    }


}